﻿using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Model.Results
{
    /// <summary>
    /// 分页响应实体
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageResultModel<T>
    {
        /// <summary>
        /// 总数
        /// </summary>
        [SwaggerSchema(Description = "总数")]
        public int TotalCount { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        [SwaggerSchema(Description = "结果")]
        public List<T>? Result { get; set; }
    }
}
